package com.gitee.business.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 账户历史资金明细表
 * </p>
 *
 * @author Yanghu
 * @since 2017-12-20
 */
@TableName("ACCOUNT_INFO_HIS")
public class AccountInfoHis extends Model<AccountInfoHis> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("ACCOUNT_ID")
	private String accountId;
    /**
     * 用户编号
     */
	@TableField("U_ID")
	private String uId;
    /**
     * 账户编号
     */
	@TableField("PID")
	private String pid;
    /**
     * 账户类型
     */
	@TableField("TYPE")
	private String type;
    /**
     * 账户余额
     */
	@TableField("BALANCE")
	private String balance;
    /**
     * 日期
     */
	@TableField("TRADE_DATE")
	private String tradeDate;
	@TableField("PLATFORM_ID")
	private String platformId;


	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getuId() {
		return uId;
	}

	public void setuId(String uId) {
		this.uId = uId;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getBalance() {
		return balance;
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}

	public String getTradeDate() {
		return tradeDate;
	}

	public void setTradeDate(String tradeDate) {
		this.tradeDate = tradeDate;
	}

	public String getPlatformId() {
		return platformId;
	}

	public void setPlatformId(String platformId) {
		this.platformId = platformId;
	}

	@Override
	protected Serializable pkVal() {
		return this.accountId;
	}

	@Override
	public String toString() {
		return "AccountInfoHis{" +
			"accountId=" + accountId +
			", uId=" + uId +
			", pid=" + pid +
			", type=" + type +
			", balance=" + balance +
			", tradeDate=" + tradeDate +
			", platformId=" + platformId +
			"}";
	}
}
